#pragma once

#include <osg\LightSource>
#include <osg\NodeCallback>
#include "vrdatacore_global.h"
#include "lightactorbase.h"

namespace VrDataCore
{
	class VRDATACORE_EXPORT DirectionLightSource:public LightActorBase
	{
	public:
		DirectionLightSource();
		virtual void buildPropertyMap();
		virtual void setActive(CoreBase::Viewer* viewer,CoreBase::Scene* scene);
		virtual void setUnactive();
	protected:
		~DirectionLightSource();
		osg::ref_ptr<osg::LightSource>		_lightSource;
	};
}